Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Atmel/ATSAM3N0C/TC0/QISR#0x0
QDEC Interrupt Status Register
Index
Direction Change
Quadrature Error
Direction
https://github.com/cmsis-svd/cmsis-svd-data